﻿@model SelfMadeMillionaire.Web.Infrastructure.ViewModels.Admin.LoginViewModel
@{
    ViewBag.Title = "Login";
	Layout = "~/Areas/Admin/Views/Shared/_AdminLayout.cshtml";
}


<div class="row">
	<div class="col-sm-12 col-md-12 col-lg-12">

		<!--left content block-->
		<div class="left_col_block">

			<div class="biography_container">
				@using (Html.BeginForm("Login", "Account", new { ReturnUrl = ViewBag.ReturnUrl }, FormMethod.Post, new { @class = "form-horizontal", role = "form" }))
	{
					@Html.AntiForgeryToken()

					@Html.ValidationSummary(true)
					<div class="login_block">
						<div class="form-group">
							@Html.LabelFor(m => m.Login, new { @class = "col-sm-6 control-label custom_label" })
							<div class="col-sm-4">
								@Html.TextBoxFor(m => m.Login, new { @class = "form-control", placeholder="Enter your email" })
								@Html.ValidationMessageFor(m => m.Login)
							</div>
						</div>
						<div class="form-group">
							@Html.LabelFor(m => m.Password, new { @class = "col-sm-6 control-label custom_label" })
							<div class="col-sm-4">
								@Html.PasswordFor(m => m.Password, new { @class = "form-control", placeholder="Enter your password" })
								@Html.ValidationMessageFor(m => m.Password)
							</div>
						</div>

						<div class="form-group">
							<label for="firstName" class="col-sm-6 control-label custom_label">&nbsp;</label>
							<div class="col-sm-4">
								<div class="newsletter_search_btn">
									<button type="submit" class="btn btn-primary">Login</button>
								</div>
							</div>
						</div>
					</div>                                                          
                                
	}
			</div>
		</div>
	</div>
</div>

